package com.zucc.controller.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-11 4:46 下午
 */
@Data
@ApiModel("修改栏目参数")
public class TopicModifyReq {
    @ApiModelProperty(value = "栏目编号", required = true)
    @NotNull(message = "栏目编号不能为空")
    private Long id;

    @ApiModelProperty(value = "栏目名称")
    private String name;

    @ApiModelProperty(value = "栏目描述")
    private String description;

    @ApiModelProperty(value = "栏目排序")
    private Integer sort;

    @ApiModelProperty(value = "备注")
    private String remarks;
}
